home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / fileutil / fileutils-3.16.tar.gz / fileutils-3.16.tar / fileutils-3.16 / m4 / header.m4 < prev    next >
Text File  |  1996-12-20  |  550b  |  13 lines

  1. # Like AC_CONFIG_HEADER, but automatically create stamp file.
  2.  
  3. AC_DEFUN(AM_CONFIG_HEADER,
  4. [AC_PREREQ([2.12])
  5. AC_CONFIG_HEADER([$1])
  6. dnl When config.status generates a header, we must update the stamp-h file.
  7. dnl This file resides in the same directory as the config header
  8. dnl that is generated.  We must strip everything past the first ":",
  9. dnl and everything past the last "/".
  10. AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
  11. test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl
  12. changequote([,]))])
  13.